https://discord.gg/botpress logo
will try to find out using the logs.
# 🌎general
w
will try to find out using the logs. Thanks for help!
w
we can keep troubleshooting it together if you want. can you send a screenshot of the logs?
w
sure. it didn't work so I put instruction like * If the query is NOT relevant: 1. Do NOT perform any search or generate an answer. 2. Set the
is_relevant
variable to false.
it changes to false correctly but doens't get out of the autonomous node still haha
give me a sec!
Wait. It just got out of the autonomous node for some case.
but if i twist the sentence by a bit, it doesn't get out.
when asking "Is ioConnect compatible with macOS?", it doesn't get out but when asking "is it compatible with macOS" it got out.
w
what llm are you using?
w
the general 4.1
w
can you try claude 4.5 haiku
or gemini 2.5 flash lite
also your conditions are a little twisted
i think the "transition by calling workflow.transition" should go in the autonomous agent prompt
and you can erase the transition "instructions"
w
okay will try now!
the response quality got different but not getting out..
i think the condition is specific enough.. what would be the issue in your opinion?
can you click this button
and send me a screenshot
w
for the last response?
w
yeah
w
see how it calls workflow.transition
send me a screenshot of one that doesn't trigger the transition, but should
w
i tried to find that point but couldnt spot it
w
what about that CAD message?
w
yeah the CAD message should not return anything because its not about policy question. this had to make get out of the autonomous node.
w
oh whoops sorry haha
w
i will try to be more specific with the condition like "user's query is about , ,.... and not related to company general inquires.
something like this!
w
yeah you could have something on the prompt like when the user's message deviates from (YOUR MAIN TOPIC), use the workflow.transition tool to transition them appropriately: - if it's related to (SUBJECT 1), call the (TRANSITION 1) transition.
and so on
w
oh okay. I will try like that and see if it works or not. Thank you!
w
you're welcome!!
a
Try using workflows as cards in the autonomous node instead of transition cards
w
yeah that is true
then tell the agent to call global.[workflowname] instead
a

https://youtu.be/-N4OoKg_w4I?si=IJhMd_SHzBnSoLxP▾

18:56 of this video
18:56 onwards should explain it
w
The workflow End is a milestone.
I use it for my bots. The advantages of workflows transition include: - Instructions are written in the workflow instead of in the AN prompt. - I can use one or more schemas to define inputs with the option to let the AI fill it in.
a
Nice! I didn't know about the docs. Very cool
2 Views